package ooday01;

public class StuExercise02 {
    String name;
    char sex;
    String born;
    String address;
    StuExercise02(){

    }
    StuExercise02(String name,char sex){
        this.name = name;
        this.sex = sex;
    }

    StuExercise02(String name, char sex, String born,String address){
        this.name = name;
        this.sex = sex;
        this.born = born;
        this.address =address;
    }
    void sayHi(){
        System.out.println("我的名字叫"+name+"，我的性别是"+sex+"，我出生于"+born+"，我的家庭住址为:"+address);
    }

}
